
#ifndef __COMPILER_CALLINDEX_HPP__
#define __COMPILER_CALLINDEX_HPP__

#include <vector>
#include <string>

typedef std::vector< std::string > ParamList;

class CallIndex
{
public:
  CallIndex()
  : _identifier(),
    _paramList()
  {}

  void SetIdentifier( const std::string& identifier ) { _identifier = identifier; }
  void SetParamList( const ParamList& paramList ) { _paramList = paramList; }

  const std::string& GetIdentifier() { return _identifier; }
  const ParamList& GetParamList() { return _paramList; }

  void AddParam( const std::string& param ) { _paramList.push_back( param ); }
  unsigned int GetNumParams() { return _paramList.size(); }

  std::string _identifier;
  ParamList _paramList;
};

#endif
